package com.antler.codelua;

import android.app.Application;
import android.content.Context;
import android.util.Log;

public class MyApplication extends Application {
    private static final String TAG = "antler_" + MyApplication.class.getSimpleName();

    private static MyApplication sApplication = null;
    private static Context sContext = null;

    @Override
    public void onCreate() {
        Log.v(TAG, "onCreate");

        sApplication = this;
        sContext = getApplicationContext();
    }

    public static Context getContext() {
        return sContext;
    }

    public static MyApplication getApplication() {
        return sApplication;
    }
}
